<!DOCTYPE html>
<html lang="zh-CN">

<head>
    <meta charset="utf-8" />
    <title>下拉控件</title>
</head>

<body>
    <form action="#">
        <!-- <select name="sex">
            <option value="1">男</option>
            <option value="2">女</option>
        </select> -->

        <select name="hobby" size="3" multiple>
            <!-- size属性：支持下拉列表一次显示的条数
                 multiple属性：支持多选
             -->
            <option value="1">抽烟</option>
            <option value="2">喝酒</option>
            <option value="3">烫头</option>
        </select>


        <input type="submit" value="提交">
    </form>
</body>

</html>